<div id="addGovCarModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">添加车辆</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">小区</label>
                <div class="col-sm-10">
                  <select class="custom-select" v-model="addGovCarInfo.govCommunityId">
                    <option selected disabled value="">必填，请选择小区</option>
                    <option v-for="(item,index) in addGovCarInfo.govCommunitys" :value="item.govCommunityId">
                      {{item.communityName}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">停车场</label>
                <div class="col-sm-10">
                  <select class="custom-select" v-model="addGovCarInfo.paId">
                    <option selected disabled value="">必填，请选择停车场</option>
                    <option v-for="(item,index) in addGovCarInfo.govParkingAreas" :value="item.paId">
                      {{item.num}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">车牌号</label>
                <div class="col-sm-10">
                  <input v-model="addGovCarInfo.carNum" type="text" placeholder="必填，请填写车牌号" class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">车辆品牌</label>
                <div class="col-sm-10">
                  <input v-model="addGovCarInfo.carBrand" type="text" placeholder="必填，请填写车辆品牌" class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">车辆颜色</label>
                <div class="col-sm-10">
                  <input v-model="addGovCarInfo.carColor" type="text" placeholder="必填，请填写车辆颜色" class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">车辆类型</label>
                <div class="col-sm-10">
                  <select class="custom-select" v-model="addGovCarInfo.carType">
                    <option selected disabled value="">必填，请选择车辆类型</option>
                    <option value="9902">客车</option>
                    <option value="9903">货车</option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">起租时间</label>
                <div class="col-sm-10">
                  <input v-model="addGovCarInfo.startTime" type="text" placeholder="必填，请填写起租时间" class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">截租时间</label>
                <div class="col-sm-10">
                  <input v-model="addGovCarInfo.endTime" type="text" placeholder="必填，请填写截租时间" class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">备注</label>
                <div class="col-sm-10">
                  <textarea placeholder="选填，请填写备注" class="form-control" v-model="addGovCarInfo.remark"></textarea>
                </div>
              </div>

              <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="saveGovCarInfo()"><i
                    class="fa fa-check"></i>&nbsp;保存</button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                  data-dismiss="modal">取消</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>